package com.bmd.backgroundmanger.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * 系统通知实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("notifications")
@Schema(name = "Notification", description = "系统通知实体类")
public class Notification implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "通知ID")
    @TableId(value = "notification_id", type = IdType.AUTO)
    private Integer notificationId;

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "通知标题")
    private String title;

    @Schema(description = "通知内容")
    private String content;

    @Schema(description = "已读状态")
    private Boolean readStatus;

    @Schema(description = "发送时间")
    private LocalDateTime sendTime;

    @Schema(description = "创建人")
    private Integer createBy;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改人")
    private Integer updateBy;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
} 